package com.jiexin.common;


import java.util.Map;

/**
 * @Author: Jay_Liu
 * @Description:  配置表缓存信息
 * @Date: Created in 21:19 2018/7/19
 * @Modified By:
 */
public class ConfigDatasource {
    private Map<String,String> metaMap ;

    public ConfigDatasource(Map<String, String> metaMap) {
        this.metaMap = metaMap;
    }

    public String getConfig(String key) {
        if (metaMap == null) {
            return null;
        }
        return metaMap.get(key);
    }

}
